.class Lde/dealdoktor/app/views/LoaderImageView$2;
.super Ljava/lang/Thread;
.source "LoaderImageView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lde/dealdoktor/app/views/LoaderImageView;->setImageDrawable(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lde/dealdoktor/app/views/LoaderImageView;

.field private final synthetic val$imageUrl:Ljava/lang/String;


# direct methods
.method constructor <init>(Lde/dealdoktor/app/views/LoaderImageView;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lde/dealdoktor/app/views/LoaderImageView$2;->this$0:Lde/dealdoktor/app/views/LoaderImageView;

    iput-object p2, p0, Lde/dealdoktor/app/views/LoaderImageView$2;->val$imageUrl:Ljava/lang/String;

    .line 96
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v3, 0x1

    .line 99
    :try_start_0
    iget-object v1, p0, Lde/dealdoktor/app/views/LoaderImageView$2;->this$0:Lde/dealdoktor/app/views/LoaderImageView;

    iget-object v2, p0, Lde/dealdoktor/app/views/LoaderImageView$2;->val$imageUrl:Ljava/lang/String;

    #calls: Lde/dealdoktor/app/views/LoaderImageView;->getDrawableFromUrl(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;
    invoke-static {v2}, Lde/dealdoktor/app/views/LoaderImageView;->access$3(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    #setter for: Lde/dealdoktor/app/views/LoaderImageView;->mDrawable:Landroid/graphics/drawable/Drawable;
    invoke-static {v1, v2}, Lde/dealdoktor/app/views/LoaderImageView;->access$4(Lde/dealdoktor/app/views/LoaderImageView;Landroid/graphics/drawable/Drawable;)V

    .line 100
    iget-object v1, p0, Lde/dealdoktor/app/views/LoaderImageView$2;->this$0:Lde/dealdoktor/app/views/LoaderImageView;

    #getter for: Lde/dealdoktor/app/views/LoaderImageView;->imageLoadedHandler:Landroid/os/Handler;
    invoke-static {v1}, Lde/dealdoktor/app/views/LoaderImageView;->access$5(Lde/dealdoktor/app/views/LoaderImageView;)Landroid/os/Handler;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_0
    .catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1

    .line 106
    :goto_0
    return-void

    .line 101
    :catch_0
    move-exception v0

    .line 102
    .local v0, e:Ljava/net/MalformedURLException;
    iget-object v1, p0, Lde/dealdoktor/app/views/LoaderImageView$2;->this$0:Lde/dealdoktor/app/views/LoaderImageView;

    #getter for: Lde/dealdoktor/app/views/LoaderImageView;->imageLoadedHandler:Landroid/os/Handler;
    invoke-static {v1}, Lde/dealdoktor/app/views/LoaderImageView;->access$5(Lde/dealdoktor/app/views/LoaderImageView;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0

    .line 103
    .end local v0           #e:Ljava/net/MalformedURLException;
    :catch_1
    move-exception v0

    .line 104
    .local v0, e:Ljava/io/IOException;
    iget-object v1, p0, Lde/dealdoktor/app/views/LoaderImageView$2;->this$0:Lde/dealdoktor/app/views/LoaderImageView;

    #getter for: Lde/dealdoktor/app/views/LoaderImageView;->imageLoadedHandler:Landroid/os/Handler;
    invoke-static {v1}, Lde/dealdoktor/app/views/LoaderImageView;->access$5(Lde/dealdoktor/app/views/LoaderImageView;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0
.end method
